package com.ambow.dao;

import com.ambow.entity.User;
import com.ambow.utils.PageResults;

public interface UserDao {

	User login(String hql, String[] param);

	boolean add(User user);

	User queryById(Class c, int id);

	boolean update(User user);

	PageResults<User> getPageByFetchedHql(String hql, String countHql, Integer pageNo, Integer pageSize);

}
